//
//  BloodOxygenDataModels.swift
//  TimeBoat
//
//  Created by bo wang on 2022/8/28.
//  Copyright © 2022 Time Boat. All rights reserved.
//

import UIKit
import YYModel

@objc class BloodOxygenDataUnit: ChartsDataUnit {
    @objc var bloodOxygen: Double = 0
    @objc var averageBloodOxygen: Double = 0
}

@objc class BloodOxygenYearlyDataUnit: ChartsYearDataUnit {
    @objc var averageBloodOxygen: Double = 0
}

@objc class BloodOxygenNormalDataModel: ChartsDataModel {
    @objc var list: [BloodOxygenDataUnit] = []
    @objc static func modelContainerPropertyGenericClass() -> [String: Any]? {[
        "list": BloodOxygenDataUnit.self
    ]}
}

@objc class BloodOxygenYearlyDataModel: ChartsDataModel {
    @objc var list: [BloodOxygenYearlyDataUnit] = []
    @objc static func modelContainerPropertyGenericClass() -> [String: Any]? {[
        "list": BloodOxygenYearlyDataUnit.self
    ]}
}
